﻿// -----------------------------------------------------------------------
// <copyright file=DmNgheNghiepBusiness company="">
// TODO: dangppsoft@gmail.com
// </copyright>
// -----------------------------------------------------------------------
namespace ManagerClinic.Core.Business
{
    using System;
    using System.Collections.Generic;
    using System.Linq;
    using System.Text;
    using ManagerClinic.Core.Common;
    using ManagerClinic.Core.DataAccess;

    public class DmNgheNghiepBusiness
    {
        DmNgheNghiepDataAccess objDa = null;

        public DmNgheNghiepBusiness()
        {
            objDa = new DmNgheNghiepDataAccess();
        }

        public bool InsertDmNgheNghiep(DmNgheNghiepEntity obj)
        {
            return objDa.InsertDmNgheNghiep(obj);
        }

        public bool EditDmNgheNghiep(DmNgheNghiepEntity obj)
        {
            return objDa.EditDmNgheNghiep(obj);
        }

        public bool DeleteDmNgheNghiep(string maNgheNghiep)
        {
            return objDa.DeleteDmNgheNghiep(maNgheNghiep);
        }

        public DmNgheNghiepEntity GetDmNgheNghiep(string maNgheNghiep)
        {
            return objDa.GetDmNgheNghiep(maNgheNghiep);
        }

        public IList<DmNgheNghiepEntity> GetDmNgheNghiepList()
        {
            return objDa.GetDmNgheNghiepList();
        }

    }
}